import { createStore } from 'vuex'

export default createStore({
  state: {
    trance:false,//改登入页->注册页
    profile:false,//改首页登入按钮->头像
  },
  mutations: {
    tranceMethod(store,val){
      store.trance = val
    },
    tranceProfile(store,val){
      store.profile = val
    }
  },
  actions: {
  },
  modules: {
  }
})
